<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      const obj = `{"a":1,"name":"jack","age":20}`; // JSON
      const arr = `["css","html",2]`;
      console.log(JSON.parse(obj));
      console.log(JSON.parse(arr));
      console.log(JSON.parse("true"));
      console.log(JSON.parse("false"));
    </script>
  </body>
</html>
